<?php
/*
 * This file is part of SoftSite.
 *
 * (c) 2012 Steve Tredinnick
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/**
 *
 *
 * @package softsite
 * @author  Steve Tredinnick <steve.tredinnick@gmail.com>
 */
namespace Lib\Forms;

use Classes\Error;


abstract class BaseElement
{
    protected $formHtml;
    protected $error;

    public function __construct()
    {
        $this->error = new Error();
    }

    public function RenderElement()
    {
        print "Render Parent.";
        return $this->formHtml;
    }

    public function setFormHtml($formHtml)
    {
        $this->formHtml = $formHtml;
    }
}
